package com.etcn.modules.busi.home.pojo;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.etcn.common.pojo.BaseEntity;

/**
 * 公告entity
 * @author guozc
 * @date 2018-01-30 22:44:55
 */
public class WmNotice extends BaseEntity<WmNotice> {

    private static final long serialVersionUID = 1L;
    
    /**
	 * 主键
	 */
    private Long id;

    /**
	 * 标题
	 */
    private String title;

    /**
	 * 标题图片
	 */
    private String titleImage;

    /**
	 * 摘要
	 */
    private String summary;

    /**
	 * 内容
	 */
    private String content;

    /**
	 * 创建人
	 */
    private String creater;

    /**
	 * 修改人
	 */
    private String modifier;

    /**
	 * 创建时间
	 */
    @JSONField(format="yyyy-MM-dd")
    private Date createTime;

    /**
	 * 修改时间
	 */
    private Date modifyTime;

	public WmNotice() {
	}
	
    public Long getId() {
       	return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    
    public String getTitle() {
        return title;
    }
    
    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitleImage() {
        return titleImage;
    }
    
    public void setTitleImage(String titleImage) {
        this.titleImage = titleImage;
    }

    public String getSummary() {
		return summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public String getContent() {
        return content;
    }
    
    public void setContent(String content) {
        this.content = content;
    }

    public String getCreater() {
        return creater;
    }
    
    public void setCreater(String creater) {
        this.creater = creater;
    }

    public String getModifier() {
        return modifier;
    }
    
    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public Date getCreateTime() {
        return createTime;
    }
    
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }
    
    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

	@Override
	public String toString() {
		return "WmNotice [id=" + id + ", title=" + title + ", titleImage=" + titleImage + ", summary=" + summary
				+ ", content=" + content + ", creater=" + creater + ", modifier=" + modifier + ", createTime="
				+ createTime + ", modifyTime=" + modifyTime + "]";
	}
    
    //@NotReplaceableStart
    //--------write the not replaceable code between-------------



    //--------write the not replaceable code between-------------
    //@NotReplaceableEnd
}
